<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>网上商城</title>
		<link href="${ctx}/css/reset.css" rel="stylesheet" type="text/css" />
		<link href="${ctx}/css/layout.css" rel="stylesheet" type="text/css" />
		<link href="${ctx}/css/style.css" rel="stylesheet" type="text/css" />
		<style type="text/css">
</style>
	</head>
	<body>
		<div class="wraper">
			<jsp:include page="/common/header.jsp"></jsp:include>
			<div class="content">
				<jsp:include page="/common/nav.jsp"></jsp:include>
				<div class="main">
					<div class="goods_box">
						<h2>
							精品推荐
							<strong>Refinement</strong>
						</h2>
						<ul>
							<c:forEach items="${reGoodsInfo.result}" var="item"
								varStatus="status">
								<c:if test="${status.count<4}">
									<li>
										<h3>
											<strong>${item.goodsBrand}</strong>${item.goodsName}
										</h3>
										<div class="photo">
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }"><img
													class="sp" src="${ctx}/${item.goodsUrl}"
													alt="${item.goodsName}" /> </a>
										</div>
										<div class="price">
											<strong>会员价：</strong>￥${item.memberPrice} |
											<strong>市场价：</strong>￥${item.marketPrice}
										</div>
										<div class="buy">
											<a href="#">购买</a> |
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }">详情</a>
										</div>
									</li>
								</c:if>
							</c:forEach>
						</ul>
					</div>
					<div class="clear"></div>
					<div class="goods_box">
						<h2>
							热销商品
						</h2>
						<ul>
							<c:forEach items="${hotGoodsInfo.result}" var="item"
								varStatus="status">
								<c:if test="${status.count<4}">
									<li>
										<h3>
											<strong>${item.goodsBrand}</strong>${item.goodsName}
										</h3>
										<div class="photo">
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }"><img
													class="sp" src="${ctx}/${item.goodsUrl}"
													alt="${item.goodsName}" /> </a>
										</div>
										<div class="price">
											<strong>会员价：</strong>￥${item.memberPrice} |
											<strong>市场价：</strong>￥${item.marketPrice}
										</div>
										<div class="buy">
											<a href="#">购买</a> |
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }">详情</a>
										</div>
									</li>
								</c:if>
							</c:forEach>
						</ul>
					</div>
					<div class="clear"></div>
					<div class="goods_box">
						<h2>
							特价商品
						</h2>
						<ul>
							<c:forEach items="${spGoodsInfo.result}" var="item"
								varStatus="status">
								<c:if test="${status.count<4}">
									<li>
										<h3>
											<strong>${item.goodsBrand}</strong>${item.goodsName}
										</h3>
										<div class="photo">
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }"><img
													class="sp" src="${ctx}/${item.goodsUrl}"
													alt="${item.goodsName}" /> </a>
										</div>
										<div class="price">
											<strong>会员价：</strong>￥${item.memberPrice} |
											<strong>市场价：</strong>￥${item.marketPrice}
										</div>
										<div class="buy">
											<a href="#">购买</a> |
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }">详情</a>
										</div>
									</li>
								</c:if>
							</c:forEach>
						</ul>
					</div>
				</div>
			</div>
			<jsp:include page="/common/footer.jsp"></jsp:include>
		</div>
	</body>
</html>
